On the Mizar Encoding of the Fibonacci Numbers
نویسندگان
چکیده
Extended Abstract Fibonacci-type sequences are probably most famous for their recursive definition. The classical one, as F ib(n) = 0, if n = 0, 1, if n = 1, F ib(n − 1) + F ib(n − 2), otherwise, (1) however very simple formulated in natural language, caused some troubles during its formalization in [1]. definition let n be Nat; func Fib (n)-> Nat means :: PRE_FF:def 1 ex fib being Function of NAT, [:NAT, NAT:] st it = (fib.n)'1 & fib.0 = [0,1] & for n being Nat holds fib.(n+1) = [ (fib.n)'2, (fib.n)'1 + (fib.n)'2 ]; end; We will propose a slight modification of this definition based on schemes for recursive definitions available in the Mizar Mathematical Library to simplify things even more. In order to make the definition clearer and closer to the mathematical standards , first we define a function which maps the set of all natural numbers into the set of corresponding Fibonacci numbers. definition func Fib-> Function of NAT, NAT means it.0 = 0 & it.1 = 1 & for k being Nat holds it.(k+2) = it.(k+1) + it.k; end; The work briefly described here is a subset of the second author's B.Sc. thesis in mathematics defended in July 2004.
منابع مشابه
Energy of Graphs, Matroids and Fibonacci Numbers
The energy E(G) of a graph G is the sum of the absolute values of the eigenvalues of G. In this article we consider the problem whether generalized Fibonacci constants $varphi_n$ $(ngeq 2)$ can be the energy of graphs. We show that $varphi_n$ cannot be the energy of graphs. Also we prove that all natural powers of $varphi_{2n}$ cannot be the energy of a matroid.
متن کاملCoefficient Bounds for Analytic bi-Bazileviv{c} Functions Related to Shell-like Curves Connected with Fibonacci Numbers
In this paper, we define and investigate a new class of bi-Bazilevic functions related to shell-like curves connected with Fibonacci numbers. Furthermore, we find estimates of first two coefficients of functions belonging to this class. Also, we give the Fekete-Szegoinequality for this function class.
متن کاملTwo Programs for SCM . Part I - Preliminaries 1 Grzegorz
In two articles (this one and [3]) we discuss correctness of two short programs for the SCM machine: one computes Fibonacci numbers and the other computes the fusc function of Dijkstra [9]. The limitations of current Mizar implementation rendered it impossible to present the correctness proofs for the programs in one article. This part is purely technical and contains a number of very specific ...
متن کاملA Class of Convergent Series with Golden Ratio Based on Fibonacci Sequence
In this article, a class of convergent series based on Fibonacci sequence is introduced for which there is a golden ratio (i.e. $frac{1+sqrt 5}{2}),$ with respect to convergence analysis. A class of sequences are at first built using two consecutive numbers of Fibonacci sequence and, therefore, new sequences have been used in order to introduce a new class of series. All properties of the se...
متن کاملBiałystok Two Programs for SCM . Part I - Preliminaries 1
In two articles (this one and [4]) we discuss correctness of two short programs for the SCM machine: one computes Fibonacci numbers and the other computes the fusc function of Dijkstra [9]. The limitations of current Mizar implementation rendered it impossible to present the correctness proofs for the programs in one article. This part is purely technical and contains a number of very specific ...
متن کامل